package si.yun.dao;

import org.apache.ibatis.annotations.Param;
import si.yun.entity.*;

import java.util.List;
import java.util.Map;

/**
 * @Description //TODO 教师功能
 * @Date $ 2021/8/23 21:34
 * @return $
 */
public interface TeachersMapper {
    //视频查询insertImg
     Map<Object,Object> selVideo();

    //待处理业务
     Map<Object,Object> selChuLi();

    //课程查询
     List<Map<String, Object>> selectTable(@Param("name") String name,@Param("price") Integer price,@Param("course") Integer course,@Param("course_id") Integer course_id);

     Integer getCounts();

     List<Map<String, Object>> selectTable1();

     Map<Object,Object> selShelves();

     int selToday();

     int selYesterDay();

     int selMonth();

     int selAll();

     int selWeek();

     int selTimeOrder(@Param("create_date1") String create_date1,@Param("create_date2") String create_date2);

     List<Map<Object,Object>> selProductRizhi();

     List<Map<Object,Object>> selComments();

     int insertImg(SyMicrocircleImg img);

     int insertVoide(SyMicrocircleImg voide);

     int uplTea(List<SyCourseClass> mpen);

     int uplTea1(@Param("mpen1") SyCourseClass mpen1);

     int uplTea2(@Param("mpen2") SyCourseClass mpen2);

     int insBohui(@Param("result") String result,@Param("details") String details);

     //查询微圈
     List<Map<Object,Object>> selMicroRing();

     //查询分类
     List<Map<Object, Object>> selProductCategoryChild(int id);

     List<Map<String, Object>> selProductCategory();
}
